package com.xjtu.model;


import lombok.Getter;
import lombok.ToString;

/**
 * 聊天内容类型
 */
@Getter
@ToString
public enum ChatType {
    TEXT(1, "文本"),

    PICTURE(2, "图片"),

    EMOJI(3, "表情"),

    FILE(4, "文档"),

    AUDIO(5, "音频"),

    VIDEO(6, "视频");


    private Integer code;
    private String description;


    ChatType(int code, String description) {
        this.code = code;
        this.description = description;
    }
}
